package com.hkd.cya.桥接模式;

public class WeChatPay extends Pay{
    public WeChatPay(PayMode payMode) {
        super(payMode);
    }

    @Override
    public void pay() {
        System.out.println("微信平台支付");
        payMode.paymode();
    }
}
